/* Orbas:
 *     A open source CORBA Specification implementation from Huihoo.
 *
 * Copyright 2002-2003 Huihoo.org, Inc. All Right Reserved.
 *
 * This software is licensed under LGPL license.
 * See terms of license at gnu.org.
 *
 * For more information, visit:
 *
 * http://www.huihoo.org/orbas
 */

package org.huihoo.orbas.idl;

class TemplateTypeSpec extends SimpleTypeSpec {

	protected boolean typedefd = false;

	public TemplateTypeSpec(int num) {
		super(num);
	}

	public void parse() throws ParseException {
		type_spec.parse();
	}

	/**
	 * we have to be able to distinguish between explicitly typedef'd type names
	 * and anonymously defined type names
	 */

	public void markTypeDefd() {
		typedefd = true;
	}

	public boolean basic() {
		return true;
	}
}
